Packetery\Module\Carrier\OptionsPage C

Total Complexity 107
Dependencies 25
Dependents 10
Total lines 972
Lines of code 618
Logical lines of code 281
Comment lines 158
Methods 27
Properties 13

Methods 27

Method Rating Maintainability Complexity Lines of code
createForm()
D
24
29 181
validateOptions()
A
45 9 46
getCarrierTemplateData()
A
48 8 34
getVendorCheckboxesConfig()
S
51 7 27
updateOptions()
S
48 6 34
addWeightLimit()
S
47 4 35
mergeNewLimits()
S
59 5 15
addProductValueLimit()
S
49 4 29
getCheckedVendors()
S
60 4 14
getAvailableVendors()
S
62 4 12
renderCountryCarriers()
S
52 3 26
renderCarrierDetail()
S
56 3 20
createUrl()
S
59 3 15
render()
S
63 3 11
getTranslations()
S
51 1 26
__construct()
S
59 1 15
checkOverlapping()
S
67 2 7
isAvailableVendorsCountLowByCarrierId()
S
75 2 4
register()
S
62 1 14
addSurchargeLimit()
S
58 1 14
createFormTemplate()
S
61 1 12
createCouponFreeShippingForFeesContainerId()
S
79 1 3
createDimensionRestrictionContainerId()
S
79 1 3
createFieldContainerId()
S
79 1 3
getCommonTemplateParams()
S
63 1 10
sortLimits()
S
72 1 5
isAvailableVendorsCountLowerThanRequiredMinimum()
S
79 1 3